package com.itheima.接口多态;

public interface 接口多态 {
    void method();

}


class Impljiekou implements  接口多态{

    @Override
    public void method() {
        System.out.println("接口实现多态:对象上转型");
    }
}
class T1{
    public static void main(String[] args) {
        接口多态 jiekou=new Impljiekou();
        jiekou.method();
    }
}